package tds.model29;
/**
 * @Company 杭州先锋电子技术股份有限公司
 * @ClassName ConcreateElementB
 * @Description 被访问者
 * @author tds
 * @Date 2020/2/8 21:39
 * @version 1.0.0
 */
public class ConcreateElementB implements Element {

    private String name;

    public String getName() {
        return name;
    }

    public ConcreateElementB(String name) {
        this.name = name;
    }

    @Override
    public void accept(Vistor vistor) {
        vistor.visitConcreteElementB(this);
    }
}
